package com.sikaryofficial.backend.domain.dto.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @author : qinjinyuan
 * @desc : 举报受理对象
 * @date : 2023/11/08 10:11
 */
@Getter
@Setter
@ApiModel(value = "举报受理对象", description = "举报受理对象")
public class ReportAcceptReq {
    /**
     * 举报ID
     */
    @ApiModelProperty(value = "举报ID")
    @NotNull(message = "the reportId is null")
    private Long reportId;
    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    @NotEmpty(message = "the remark is not blank")
    @Length(max = 1000, message = "remark can not exceed 1000 characters")
    private String remark;
}
